//
//  ConsultViewController.h
//  soccer
//
//  Created by 上官千城 on 15/9/2.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import "OBaseViewController.h"
#import "RESideMenu.h"
#import "OConsultCell.h"
#import "OConsult.h"
#import "OPersonViewController.h"
#import "Oconcom.h"
#import "OMainCommentController.h"
#import "OPhotoAlbumController.h"
#import "OConsultDetailsController.h"
#import "OGetInformation.h"
#import "OGetInforComment.h"
#import "OAddInforComment.h"
@interface OConsultViewController : OBaseViewController<UITableViewDataSource,UITableViewDelegate,pushPerson,pushMP4,showImage>
//表
@property(nonatomic,strong)UITableView *tableView;
//评论数组
@property(nonatomic,strong)NSMutableArray *comArray;
//资讯数组
@property(nonatomic,strong)NSMutableArray *infoArray;
//每区咨询 id数组
@property(nonatomic,strong)NSMutableArray *infoIndexArray;
@property(nonatomic,strong)NSMutableArray *infoIndex;
//咨询自适应cell
@property(nonatomic,strong)UITableViewCell *cell;
//评论侧滑页面
@property(nonatomic,strong)UITableView *commentTableView;
//侧滑底层View
@property(nonatomic,strong)UIView *backView;
//咨询图片张数
@property(nonatomic,assign)NSInteger photoNum;
//评论数
@property(nonatomic,assign)NSInteger commentNum;
//允许评论
@property(nonatomic,assign)NSInteger accept;
//未定
@property(nonatomic,assign)NSInteger like;
//只显示资讯
@property(nonatomic,assign)NSInteger consultSwitch;
//获取资讯类
@property(nonatomic,strong)OGetInformation *OGetinfor;
//获取评论类
@property(nonatomic,strong)OGetInforComment *OGetInforComment;
//资讯cell
@property(nonatomic,strong)OConsultCell *consultCell;
//评论咨询
@property(nonatomic,strong)OAddInforComment *OAddinfoComment;
//评论View
@property(nonatomic,strong)UIView *commentView;
//评论动画开关
@property(nonatomic,assign)BOOL open;
//评论view
@property(nonatomic,strong)UITextView *texView;
//对资讯评论对象
@property(nonatomic,strong)OConcom *addComment;
//获取评论数组
@property(nonatomic,strong)NSMutableArray *getInforCommentArray;
//获取评论ID区数组
@property(nonatomic,strong)NSMutableArray *commentIndexArray;
//获取评论二维数组
@property(nonatomic,strong)NSMutableArray *commentIndex;

@property(nonatomic,strong)NSMutableArray *arr;
//资讯详情inforId
@property(nonatomic,assign)long inforId;
//点赞数
@property(nonatomic,strong)UILabel *goodNum;
@property(nonatomic,assign)NSInteger agreeNum;

//@property(nonatomic,strong)UILabel *headName;
@property(nonatomic,strong)UIButton *agree;

//确认发布
@property(nonatomic,strong)UIButton *publish;
@end

